package com.yunpeng.aidevice.dao.model.relation;

import com.yunpeng.aidevice.dao.model.BaseRelationDO;

/**
 * <p>
 * 角色权限配置
 * </p>
 *
 * @author hemw
 * @since 2020-04-07
 */
public class RolePermissionDO extends BaseRelationDO {

    private static final long serialVersionUID = 1L;


    /**
     * 角色代码
     */

    private String roleCode;

    /**
     * 角色名称
     */

    private String roleName;

    /**
     * 权限名称
     */

    private String permissionName;

    /**
     * 权限代码
     */

    private String permissionCode;


    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName;
    }

    public String getPermissionCode() {
        return permissionCode;
    }

    public void setPermissionCode(String permissionCode) {
        this.permissionCode = permissionCode;
    }

    @Override
    public String toString() {
        return "RolePermissionDO{" +
                "id=" + id +
                ", creator=" + creator +
                ", createTime=" + createTime +
                ", updater=" + updater +
                ", updateTime=" + updateTime +
                ", flag=" + flag +
                ", roleCode=" + roleCode +
                ", roleName=" + roleName +
                ", permissionName=" + permissionName +
                ", permissionCode=" + permissionCode +
                "}";
    }
}
